package net.uhuijia.shop.usershop.persistence.dao;

import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import net.uhuijia.appbase.dao.CrudDao;
import net.uhuijia.shop.usershop.persistence.basedao.UserShopMapper;
import net.uhuijia.shop.usershop.persistence.model.UserShop;
import net.uhuijia.shop.usershop.persistence.model.UserShopExample;

import java.util.List;


@Mapper
public interface UserShopDao
     extends UserShopMapper,CrudDao<UserShop,UserShopExample> {
    /**
     * 根据UserId查询用户店铺
     * @param userId
     * @return
     */
    List<UserShop> findUserShopByUserId(String userId);
}